package com.example.demo.request;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author hankChan
 *         2018/2/2 0002.
 */
public class Image implements Serializable {
    private static final long serialVersionUID = -1038838894721161131L;

    @NotNull(message = "url不得为空!")
    private String url;

    private String format;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }
}
